Dart.PowerTCP.SslSockets Namespace > PipeStream Class > Read Method : Read(Byte[],Int32,Int32) Method |
Read data from the Stream.
[Visual Basic]
Overloads Overrides Public Function Read( _
ByVal buffer() As Byte, _
ByVal offset As Integer, _
ByVal count As Integer _
) As Integer
The total number of bytes read into the buffer.
Exception | Description |
---|---|
IOException | Thrown when the Stream is not readable. |
ArgumentNullException | Thrown when the buffer or callback is null. |
ArgumentOutOfRangeException | Thrown when the offset is less than zero or when count is less than or equal to zero. |
ArgumentException | Thrown when the (offset + count) > buffer.Length. |
This method actually calls PipeStream.CoreStream.Read, passing the data "through" the PipeStream and into buffer.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
PipeStream Class | PipeStream Members | Overload List
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.